package myclient;

import javax.swing.ImageIcon;

public class ImageFactory {
	public ImageFactory() {
	}
	public ImageIcon make(String path){
//		if(path.equals("/image/set1.gif")){
//			JOptionPane.showMessageDialog(null, ImageFactory.class.getResource(path));
//		}
		return new ImageIcon(ImageFactory.class.getResource(path));
	}

}
